package com.anxin.registerManagement.bean.dto;

import com.anxin.registerManagement.bean.persist.Permission;
import com.anxin.registerManagement.bean.persist.PermissionGroup;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author 叶前呈
 * @date 2022/2/5 14:02
 */
@ApiModel("权限组-数据交互类")
@Data
public class PermissionGroupDto extends PermissionGroup {

    @TableField(exist = false)
    @ApiModelProperty("权限集合，用于查询")
    private List<Permission> permissionList;

    @TableField(exist = false)
    @ApiModelProperty("权限id集合，用于增加、删除")
    private List<Integer> permissionIdList;
}
